package com.qianye.exception.NullException;

/**
 * @Author: hjz
 * @DataTime: 2024/9/19 23:03
 **/
public enum NullEnums {
    /** 参数为空 */
    NULL_Parameter("NULL_Parameter", "参数为空"),
    /** 对象为空 */
    NULL_Object("NULL_Object", "对象为空"),
    /** 列表为空 */
    NULL_List("NULL_List", "列表为空"),
    /** 字符串为空 */
    NULL_String("NULL_String", "字符串为空"),

    ;

    private final String code;
    private final String description;

    public String getCode() {
        return code;
    }

    public String getDescription() {
        return description;
    }

    NullEnums(String code, String description) {
        this.code = code;
        this.description = description;
    }
}
